Automated identification and clean-up of malicious computer code

ABSTRACT

Malicious computer code ( 101 ) is automatically cleaned-up from a target computer ( 103 ). An operating system ( 109 ) automatically boots ( 201 ) in the computer memory ( 105 ) of the target computer ( 103 ). The booted operating system ( 109 ) automatically runs ( 203 ) a malicious code processing script ( 113 ) in the computer memory ( 105 ) of the target computer ( 103 ), under control of the booted operating system ( 109 ). The malicious code processing script ( 113 ) automatically copies ( 205 ) and runs ( 207 ) at least one malicious code clean-up script ( 115 ). At least one malicious code clean-up script ( 115 ) automatically cleans-up ( 209 ) malicious code ( 101 ) from the target computer ( 103 ).

TECHNICAL FIELD

This invention pertains to the automatic identification and clean-up of malicious computer code.

BACKGROUND ART

Computers are vulnerable to malicious computer code such as worms, viruses and Trojan horses. As used herein, “malicious computer code” is any code that enters a computer without an authorized user's knowledge and/or without an authorized user's consent, or code that disguises its nature and enters a computer with an authorized user's naive consent. Despite the deployment of software (e.g., anti-virus software) to protect computers from malicious code, computers still sometimes become infected with malicious code. Companies and individuals spend a lot of time and effort identifying and cleaning-up malicious code that has infected their computers.

Some companies that provide anti-virus software provide clean-up scripts that can identify and clean-up known malicious code (e.g., a known computer virus). New malicious code is frequently created and released. Therefore, new clean-up scripts have to be developed and distributed to identify and clean-up the new malicious code. Such scripts can be made available on web sites. Users can download these scripts, and run them in order to clean-up malicious computer code from their computers.

The procedures for downloading and running these scripts require active participation from the user. The user must know where current clean-up scripts are available, and which script(s) to download and run. The user must also know how to download and run the scripts. Running clean-up scripts often requires rebooting the computer, sometimes multiple times. Many contemporary computer users have minimal computer skills, and have difficulty successfully executing these procedures. Even where a user is capable of successfully running clean-up scripts, the user may find the procedure to be overly time consuming.

Additionally, where an infected computer has become unusable, a user must reboot their computer from an uninfected CD-ROM or floppy disk in order to subsequently download and run the required clean-up scripts. This procedure requires additional user participation and knowledge, making it difficult or impracticable for some users with minimal computer skills.

DISCLOSURE OF INVENTION

The present invention comprises methods, systems, and computer readable media for automatically cleaning-up malicious computer code (101) from a target computer (103) (as used herein “media” can comprise the singular or the plural). In some embodiments, an operating system (109) automatically boots (201) in the computer memory (105) of the target computer (103), from computer readable media (111). The booted operating system (109) comprises an operating system (109) other than the operating system (109) associated with the target computer (103). The booted operating system (109) automatically runs (203) a malicious code processing script (113) in the computer memory (105) of the target computer (103), under control of the booted operating system (109). The malicious code processing script (113) automatically copies (205) at least one malicious code clean-up script (115) from a location. The malicious code processing script (113) automatically runs (207) at least one copied malicious code clean-up script (115) in the computer memory (105) of the target computer (103). At least one malicious code clean-up script (115) automatically cleans-up (209) malicious code (101) from the target computer (103).

The features and advantages described in this summary and the following detailed description are not all-inclusive, and particularly, many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings, specification, and claims hereof. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter, resort to the claims being necessary to determine such inventive subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 a is a block diagram illustrating a high level overview of one embodiment of the present invention.

FIG. 1 b is a block diagram illustrating a high level overview of another embodiment of the present invention.

FIG. 2 is a flowchart illustrating steps for automatically copying and running a plurality of the latest malicious code clean-up scripts from a location, according to one embodiment of the present invention.

FIG. 3 is a block diagram illustrating the utilization of a scanner to determine which malicious code processing scripts to copy and run, according to one embodiment of the present invention.

FIG. 4 is a block diagram illustrating automatic clean-up of malicious code from a remotely mountable file system, according to one embodiment of the present invention.

FIG. 5 is a flowchart illustrating steps for prompting a user for connectivity information, according to one embodiment of the present invention.

FIG. 6 is a block diagram illustrating a high level overview of another embodiment of the present invention.

The figures depict embodiments of the present invention for purposes of illustration only. One skilled in the art will readily recognize from the following discussion that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles of the invention described herein.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 a provides a high level overview of one embodiment of the present invention. Malicious code 101 has infected a target computer 103. In FIG. 1 a, the malicious code 101 is present in both the computer memory 105 and static media 107 of the target computer 103. It is to be understood that malicious code 101 can infect the computer memory 105 and/or static media 107 of a target computer 103, and need not be present in both.

In accordance with the present invention, an operating system 109 automatically boots in the computer memory 105 of the target computer 103, from computer readable media 111. For example, a user can insert the computer readable media 111 containing the operating system 109 into an appropriate drive of the target computer 103, and the operating system 109 will boot automatically in a manner that will be readily apparent to one of ordinary skill in the art. A CD-ROM is an example of computer readable media 111 from which the operating system 109 can be booted, but of course the present invention is not limited to any specific type or format of computer readable media 111.

FIG. 1 b illustrates another example of computer readable media 111 from which the operating system 109 can be booted. In the embodiment illustrated in FIG. 1 b, the computer readable media 111 is remote from the target computer 103, for example on a server computer 117. The mechanics of remote booting are known to those of ordinary skill in the relevant art. For example, the boot loader on the target computer 117 can be configured to present the user with a menu allowing the selection of either local or remote booting. Alternatively, the user can insert removable media into the target computer 117, the removable media including directives to initiate a remote boot. Other variations of remotely booting an operating system 109 will be readily apparent to those of ordinary skill in the relevant art. In other embodiments, the operating system is booted from a separate partition (physical or virtual) on the target computer 117.

Returning to FIG. 1 a, the booted operating system 109 is one other than the operating system 109 associated with the target computer 103, so that it cannot become infected by the malicious code 101. For example, suppose that the target computer 103 runs a MICROSOFT WINDOWS® operating system 109. In that case, the malicious code 101 would be WINDOWS specific, and not designed to infect other operating systems 109, such as LINUX. Therefore, the user could, for example, use computer readable media 111 containing LINUX, in order to boot LINUX on the target computer. LINUX would be immune to the malicious code, allowing subsequent processing in conjunction with the present invention. Of course, the present invention is not limited to any specific operating system(s) 109.

The operating system 109 automatically runs a malicious code processing script 113 in the computer memory 105 of the target computer 103. The implementation details of the operating system 109 automatically running a script will be readily apparent to one of ordinary skill in the relevant art. It is to be understood that the malicious code processing script 113 can, but need not, comprise a subsection of an operating system boot script. FIG. 1 a illustrates the operating system 109 loading the malicious code processing script 113 from the computer readable media 111 into the computer memory 105 of the target computer 103. In other embodiments, other methodologies can be used to automatically run the malicious code processing script 113 in the computer memory 105 of the target computer 103 under the control of the booted operating system 109.

The malicious code processing script 113 copies at least one malicious code clean-up script 115 from a location, such as a server computer 117 (as illustrated). In some embodiments in which the location comprises a server computer 117, the server computer 117 is outside of the local area network in which the target computer 103 is located, and in other embodiments the server computer 117 is part of the target computer's 103 local area network. In other embodiments, the location is one other than a server computer 117, as discussed further below. Various clean-up scripts 115 that can identify and clean-up known malicious code exist, and it will be readily apparent to one of ordinary skill in the relevant art that the malicious code processing script 113 can automatically copy such clean-up scripts 115 from a location where they reside.

The malicious code processing script 113 then automatically runs at least one malicious code clean-up script 115 in the computer memory 105 of the target computer 103. The malicious code clean-up script 115 proceeds to automatically clean-up malicious code 101 from the target computer 103. It will be readily apparent to those of ordinary skill in the relevant art that cleaning-up malicious code 101 can comprise eliminating the malicious code 101 from the target computer 103. It will also be understood that cleaning-up malicious code 101 can comprise actions other than eliminating the malicious code 101, for example repairing, quarantining, analyzing or transmitting infected file(s).

In order to clean-up malicious code 101 from the target computer 103, a malicious code clean-up script 115 must be able to write to the file system of the target computer 103. Recall that the malicious code clean-up script 115 is running under the control of the booted operating system 109, which is an operating system 109 other than the one associated with the target computer 103. Therefore, the malicious code clean-up script 115 must be able to write to the file system of an operating system 109 other than the one it is running under. For example, in one embodiment of the present invention, the target computer 103 could be configured to run WINDOWS, and the booted operating system could be LINUX, in which case the malicious code clean-up script 115 would run under LINUX. In that embodiment, the malicious code clean-up script 115 running under LINUX would need to be able to write to the WINDOWS file system. The manner in which the malicious code clean-up script 115 writes to the file system of another operating system will be readily apparent to those of ordinary skill in the relevant art. For example, writing to the WINDOWS NT file system from DOS and LINUX is known. The source code to write to the WINDOWS NT file system from DOS is commercially available from a company called Sysintemals. Additionally, current versions of LINUX for which the source code is publicly available include WINDOWS NT file system access.

In some embodiments, the malicious code processing script 113 automatically copies and runs a plurality of the latest malicious code clean-up scripts 115 from a location, thereby automatically providing the most current available malicious code protection. FIG. 2 is a flowchart illustrating steps for performing such functionality, according to one embodiment of the present invention.

An operating system 109 automatically boots 201 in computer memory 105 of a target computer 103. The operating system 109 automatically runs 203 a malicious code processing script 113 in computer memory 105 of the target computer 103. The malicious code processing script 113 automatically copies 205 a plurality of the most recent available malicious code clean-up scripts 115 from a location, for example a server computer 117. The malicious code processing script 113 automatically runs 207 each malicious code clean-up script 115 of the plurality. At least one of the malicious code clean-up scripts 115 automatically cleans-up 209 malicious code 101 from the target computer 103.

FIG. 3 illustrates utilizing a scanner 301 to determine which malicious code processing scripts 115 to copy 205 and run 207 according to one embodiment of the present invention. As those ordinary skill in the relevant art are aware, scanners 301 exist which can scan files located within a computer, and identify specific known malicious code 101 that has infected that computer. For example, such scanners 301 are often components of known anti-virus software.

As illustrated in FIG. 3, the malicious code processing script 113 automatically copies a scanner software module 301 from a location, such as a server computer 117. The malicious code processing script 113 proceeds to automatically run the scanner 301 in the computer memory 105 of the target computer 103. The scanner 301 automatically identifies malicious code 101 that has infected the target computer 103. The malicious code processing script 113 then automatically copies 205 and runs 207 at least one malicious code clean-up script 115 from the location, in order to clean-up the malicious code 101 identified by the scanner 301 from the target computer 103.

FIG. 4 illustrates automatically cleaning-up malicious code 101 from a remotely mounted file system 401 of a target computer 103, according to one embodiment of the present invention. As will be understood by those of ordinary skill in the relevant art, computers often have access to remotely mountable file systems 401, which physically reside on a remote computer 403, but can be configured to appear to reside on the local computer.

As illustrated in FIG. 4, the malicious code processing script 113 can read system information 405 (e.g., the Windows registry) on the target computer 103, in order to determine whether the target computer 103 has access to any remotely mountable file systems 401. The manner in which the malicious code processing script 113 reads system information 405 will be readily apparent to those of ordinary skill in the relevant art.

The malicious code processing script 113 can determine, from reading the system information 405, whether the target computer 103 has access to at least one remotely mountable file system 401. Where the target computer 103 has such access, the malicious code processing script 113 proceeds to mount the remotely mountable file system(s) 401 to which the target computer 103 has access, in a manner that will be readily apparent to those of ordinary skill in the relevant art. The malicious code processing script 113 can automatically copy 205 and run 207 malicious code clean-up script(s) 115 as described above. In this manner, if a remotely mountable file system 401 to which the target computer 103 has access is infected with malicious code 101, the malicious code 101 will be automatically cleaned-up by a malicious code clean-up script 115.

As explained above, in some embodiments of the present invention, the malicious code processing script 113 copies malicious code clean-up scripts 115 from a remote server computer 117. In some instances, connectivity information (for example, a user's login id and password) will be needed in order to establish the required network connection. In some embodiments, the malicious code processing script 113 prompts the user for this connectivity information, as illustrated in FIG. 5.

The malicious code processing script 113 prompts 501 the user of the target computer 103 for connectivity information needed in order to establish a network connection. The malicious code processing script 113 uses 503 the provided connectivity information to establish a network connection. The established network connection can then be used to automatically copy malicious code clean-up scripts 115 and/or a scanner 301, and/or to mount remotely mountable file systems 401, as described above.

It will be readily apparent to one of ordinary skill in the relevant art that in some embodiments, the malicious code processing script 113 can automatically copy 205 malicious code clean-up scripts 115 from locations other than a remote server computer 117, as desired. FIG. 6 illustrates the malicious code processing script 113 automatically copying 205 a malicious code clean-up script 115 from removable computer media 601, according to one such embodiment. Of course, a scanner 301 can also be copied from removable computer media 601.

As will be understood by those familiar with the art, the invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. Likewise, the particular naming and division of the modules, features, attributes, scripts, methodologies and other aspects are not mandatory or significant, and the mechanisms that implement the invention or its features may have different names, divisions and/or formats. Furthermore, as will be apparent to one of ordinary skill in the relevant art, the modules, features, attributes, scripts, methodologies and other aspects of the invention can be implemented as software, hardware, firmware or any combination of the three. Of course, wherever a component of the present invention is implemented as software, the component can be implemented as a script, as a standalone program, as part of a larger program, as a plurality of separate scripts and/or programs, as a statically or dynamically linked library, as a kernel loadable module, as a device driver, and/or in every and any other way known now or in the future to those of skill in the art of computer programming. Additionally, the present invention is in no way limited to implementation in any specific programming language, or for any specific operating system or environment. Accordingly, the disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the following claims. 

1. A computer implemented method for automatically cleaning-up malicious computer code from a target computer, the target computer having computer memory and an associated operating system, the method comprising the steps of: automatically booting an operating system in the computer memory of the target computer from computer readable media, the booted operating system comprising an operating system other than the operating system associated with the target computer; the booted operating system automatically running a malicious code processing script in the computer memory of the target computer, under control of the booted operating system; the malicious code processing script automatically identifying a malicious code that has infected the target computer; the malicious code processing script automatically copying at least one malicious code clean-up script for the identified malicious code from a location; the malicious code processing script automatically running the at least one copied malicious code clean-up script in the computer memory of the target computer; and the at least one malicious code clean-up script automatically cleaning-up the identified malicious code from the target computer.
 2. The method of claim 1 further comprising: the malicious code processing script automatically determining a location where latest malicious code clean-up scripts are available; the malicious code processing script automatically determining which of the latest malicious code clean-up scripts at the location to copy and run; the malicious code processing script automatically copying each determined latest malicious code clean-up script from the location; and the malicious code processing script automatically running each determined latest malicious code clean-up script in the computer memory of the target computer.
 3. The method of claim 1, further comprising the step of: the malicious code processing script automatically copying a scanner from a location; the malicious code processing script automatically running the scanner in the computer memory of the target computer to identify the malicious code that has infected the target computer.
 4. The method of claim 1, further comprising the steps of: the malicious code processing script reading system information from the target computer, in order to determine whether the target computer has access to any remotely mountable file systems; the malicious code processing script, responsive to determining that the target computer has access to at least one remotely mountable file system, mounting at least one remotely mountable file system to which the target computer has access; and at least one malicious code clean-up script automatically cleaning-up malicious code from at least one remotely mounted file system.
 5. The method of claim 1, 2 or 3 wherein: the location comprises a remote server computer.
 6. The method of claim 5 further comprising the steps of: the malicious code processing script prompting a user for connectivity information needed in order to establish a network connection; and the malicious code processing script using the provided connectivity information to establish a network connection.
 7. The method of claim 1, 2 or 3 wherein: the location comprises a removable computer media.
 8. The method of claim 1 wherein the computer readable media from which the operating system is automatically booted comprises a computer readable media from the group of computer readable media comprising: a removable computer readable media; a remote computer readable media; and a separate partition on the target computer.
 9. A computer readable medium containing a computer program product for automatically cleaning-up malicious computer code from a target computer, the target computer having computer memory and an associated operating system, the computer program product comprising: program code for enabling an operating system to automatically boot in the computer memory of the target computer, from computer readable media, the booted operating system comprising an operating system other than the operating system associated with the target computer; program code for enabling the booted operating system to automatically run a malicious code processing script in the computer memory of the target computer, under control of the booted operating system; program code for automatically identifying a malicious code that has infected the target computer; program code for automatically copying at least one malicious code clean-up script for the identified malicious code from a location; program code for automatically running the at least one copied malicious code clean-up script in the computer memory of the target computer; and program code for automatically cleaning-up the identified malicious code from the target computer.
 10. The computer program product of claim 9 further comprising: program code for automatically determining a location where latest malicious code clean-up scripts are available; program code for automatically determining which of the latest malicious code clean-up scripts at the location to copy and run; program code for automatically copying each determined latest malicious code clean-up script from the location; and program code for automatically running each determined latest malicious code clean-up script in the computer memory of the target computer.
 11. The computer program product of claim 9, further comprising: program code for automatically copying a scanner from a location; program code for automatically running the scanner in the computer memory of the target computer to identify the malicious code that has infected the target computer.
 12. The computer program product of claim 9, further comprising: program code for reading system information from the target computer, in order to determine whether the target computer has access to any remotely mountable file systems; program code for mounting at least one remotely mountable file system to which the target computer has access; and program code for automatically cleaning-up malicious code from at least one remotely mounted file system.
 13. The computer program product of claim 9, 10 or 11 wherein: the location comprises a remote server computer.
 14. The computer program product of claim 13 further comprising: program code for prompting a user for connectivity information needed in order to establish a network connection; and program code for using the provided connectivity information to establish a network connection.
 15. The computer program product of claim 9, 10 or 11 wherein: the location comprises a removable computer media.
 16. A computer system for automatically cleaning-up malicious computer code from a target computer, the target computer having computer memory and an associated operating system, the computer system comprising: an operating system booting module, for automatically booting an operating system in the computer memory of the target computer from computer readable media, the booted operating system comprising an operating system other than the operating system associated with the target computer; a script running module, for automatically running a malicious code processing script in the computer memory of the target computer, under control of the booted operating system, and for automatically running at least one malicious code clean-up script in the computer memory of the target computer, the script running module being communicatively coupled to the operating system booting module; a script copying module, for automatically identifying a malicious code that has infected the target computer, and for automatically copying at least one malicious code clean-up script for the identified malicious code from a location, the script copying module being communicatively coupled to the script running module; and a malicious code clean-up module, for automatically cleaning-up the identified malicious code from the target computer, the malicious code clean-up module being communicatively coupled to the script running module.
 17. The computer system of claim 16, wherein: the script copying module is further adapted to automatically determine a location where latest malicious code clean-up scripts are available; the script copying module is further adapted to automatically determine which of the latest malicious code clean-up scripts at the location to copy and run; the script copying module is further adapted to automatically copy each determined latest malicious code clean-up script from the location; and the script running module is further adapted to automatically run each determined latest malicious code clean-up script in the computer memory of the target computer.
 18. The computer system of claim 16, further comprising: a scanning module communicatively coupled to the script copying module, and to the script running module; and wherein: the script copying module is further adapted to automatically copy the scanning module from a location; and the script running module is further adapted to automatically run the scanning module in the computer memory of the target computer to identify the malicious code that has infected the target computer.
 19. The computer system of claim 16, 17 or 18 wherein: the location comprises a remote server computer.
 20. The computer system of claim 16, 17 or 18 wherein: the location comprises a removable computer media. 